package com.yuandian.middle.platform.enums;

/**
 * 说明：能力输出形式枚举类
 * @Author tianlr
 * @Date 2023/5/19 10:11
 */
public enum MpOutputModeEnum {
    SERVEROUTPUT("1", "服务输出"),
    DEVELOPMENT("2", "入驻开发"),
    APPSERVER("3", "应用服务");

    private String item;
    private String itemValue;
    MpOutputModeEnum(String item, String itemValue){
        this.item = item;
        this.itemValue = itemValue;
    }

    public static String getItemValue(String item) {
        for (MpOutputModeEnum m : MpOutputModeEnum.values()) {
            if ((m.item).equals(item)) {
                return m.itemValue;
            }
        }
        return "";
    }
}
